<template>
	<view>
		<view class="pic_box">
			<image class="img" src="/static/images/time.png" mode="aspectFill"></image>
		</view>
		<view class="content_box">
			<view class="news_box" v-for="(item,index) in 10">
				<News @click.native="goToDetails" :key="index"></News>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			goToDetails() {
				uni.navigateTo({
					url: '/pages/details/details'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.pic_box {
		text-align: center;
		.img {
			width: 300rpx;
			height: 300rpx;
		}
	}
	.content_box {
		.news_box {
			padding: 20rpx;
		}
	}
</style>
